package com.ftg.learn.chapter08.vehicle;

import lombok.Data;

/**
 * 卡车类
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/7/25 15:37
 */
@Data
public class Truck extends Car{

    int passenger_load;
    Double payload;

    @Override
    public void number(){
        System.out.println("卡车载客8个人");
    }


}
